package cn.bdqn.yan.pojo;

/**
 * @author ysf
 * @date 2019/8/30 19:53
 * @订单实体类
 */
public class bill {
    private Integer id;
    private String billcode;

    private String productname;
    private String productdesc;
    //商品单位
    private String productunit;
    private double productcount;
    private double totalprice;
    private Integer isplayment;
    //供应商的id
    private Integer provideid;
    private Integer createby;
    private String creationdate;
    private Integer modifyby;
    private String modifydate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBillcode() {
        return billcode;
    }

    public void setBillcode(String billcode) {
        this.billcode = billcode;
    }

    public String getProductname() {
        return productname;
    }

    public void setProductname(String productname) {
        this.productname = productname;
    }

    public String getProductdesc() {
        return productdesc;
    }

    public void setProductdesc(String productdesc) {
        this.productdesc = productdesc;
    }

    public String getProductunit() {
        return productunit;
    }

    public void setProductunit(String productunit) {
        this.productunit = productunit;
    }

    public double getProductcount() {
        return productcount;
    }

    public void setProductcount(double productcount) {
        this.productcount = productcount;
    }

    public double getTotalprice() {
        return totalprice;
    }

    public void setTotalprice(double totalprice) {
        this.totalprice = totalprice;
    }

    public Integer getIsplayment() {
        return isplayment;
    }

    public void setIsplayment(Integer isplayment) {
        this.isplayment = isplayment;
    }

    public Integer getProvideid() {
        return provideid;
    }

    public void setProvideid(Integer provideid) {
        this.provideid = provideid;
    }

    public Integer getCreateby() {
        return createby;
    }

    public void setCreateby(Integer createby) {
        this.createby = createby;
    }

    public String getCreationdate() {
        return creationdate;
    }

    public void setCreationdate(String creationdate) {
        this.creationdate = creationdate;
    }

    public Integer getModifyby() {
        return modifyby;
    }

    public void setModifyby(Integer modifyby) {
        this.modifyby = modifyby;
    }

    public String getModifydate() {
        return modifydate;
    }

    public void setModifydate(String modifydate) {
        this.modifydate = modifydate;
    }

    public bill() {
    }

    public bill(Integer id, String billcode, String productname, String productdesc, String productunit, double productcount, double totalprice, Integer isplayment, Integer provideid, Integer createby, String creationdate, Integer modifyby, String modifydate) {
        this.id = id;
        this.billcode = billcode;
        this.productname = productname;
        this.productdesc = productdesc;
        this.productunit = productunit;
        this.productcount = productcount;
        this.totalprice = totalprice;
        this.isplayment = isplayment;
        this.provideid = provideid;
        this.createby = createby;
        this.creationdate = creationdate;
        this.modifyby = modifyby;
        this.modifydate = modifydate;
    }
    @Override
    public String toString() {
        return "bill{" +
                "id=" + id +
                ", billcode='" + billcode + '\'' +
                ", productname='" + productname + '\'' +
                ", productdesc='" + productdesc + '\'' +
                ", productunit='" + productunit + '\'' +
                ", productcount=" + productcount +
                ", totalprice=" + totalprice +
                ", isplayment=" + isplayment +
                ", provideid=" + provideid +
                ", createby=" + createby +
                ", creationdate='" + creationdate + '\'' +
                ", modifyby=" + modifyby +
                ", modifydate='" + modifydate + '\'' +
                '}';
    }
}
